/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controller.commands;

import java.awt.Color;
import model.graphic.objects.Graphical;

/**
 *
 * @author Jelle
 */
public class SetHighlightColorCommand extends BasicCommand {

    private Color color;
    private Graphical g;

    public SetHighlightColorCommand(Color color, Graphical g) {
        this.color = color;
        this.g = g;
    }

    @Override
    public void execute() {
        g.setHighLightColor(color);
    }
}